<div class="item_line">
<table style="margin: 0px auto; margin-left: <%= offset %>px; width: 640px;">
<tr>
  <td class="table_line">
  <% if request.children.count > 0 %>
	  <a style="text-decoration: none;" href="#" 
	  onclick="$('children_of_<%= request.id %>').toggle();
	           $('right_<%= request.id %>').toggle();
	           $('bottom_<%= request.id %>').toggle();
	           return !1"> 
	   <small><span id="right_<%= request.id %>">&#9658</span>
	   <span style="display: none;" id="bottom_<%= request.id %>">&#9660</span></small>
  <% end %>  

  <%= link_to request.file_file_name, request %></td>
  <td class="table_line"><%=h request.file_content_type %></td>
  <td class="table_line"><%= request.updated_on %></td>    
  <td class="table_line"><a href="<%=h getlink(request)%>">download</a> (<%=h request.pretty_size %>) </td>
</tr>  
</table>  
</div>

<% if request.children.count > 0 %>
<div id="children_of_<%= request.id %>" style="display: none;">
	<%= render :partial => request.children, :locals => { :offset => offset + 20} %>
</div>	
<% end %>